/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdCollectRoundHistory;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 机型轮次历史记录-采集业务对象 isfd_collect_round_history
 *
 * @author hxloongs
 * @date 2025-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdCollectRoundHistory.class, reverseConvertGenerate = false)
public class IsfdCollectRoundHistoryBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 机型编号
     */
    @NotBlank(message = "机型编号不能为空", groups = {AddGroup.class, EditGroup.class})
    private String modelNumber;

    /**
     * 轮次编号
     */
    @NotBlank(message = "轮次编号不能为空", groups = {AddGroup.class, EditGroup.class})
    private String roundNumber;

    /**
     * 轮次名称
     */
    @NotBlank(message = "轮次名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String roundName;


}
